---------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Userdata\Shared\Dofiles\DoAnalysis\PlacementCandidacy\Output\TableA9.log
  log type:  text
 opened on:   2 Oct 2020, 13:42:47

.    
.   use "E:\ProjData\PlacementCandidacy\utp-DataMainSample.dta", clear

.   
.   local controls1 "InvAr IFAUkod Ar FodelseAr"

.   local controls2 "Kvinna Gift_InvAr Barn0_15_InvAr"

.   local controls3 "LoneInk UtbAr Sysselsatt" 

.   
.   reghdfe UtbAr_Inv `controls2' (logpEnklavVuxen = logpEnklavVuxenInvAr) if Nominerad == 100, absorb(InKommun `controls1') cluster(InKommun
> ) stages(first) old
(running historical version of reghdfe)
(dropped 29 singleton observations)
(converged in 15 iterations)

Stage: first - logpEnklavVuxen

HDFE Linear regression                            Number of obs   =      2,008
Absorbing 5 HDFE groups                           F(   4,    210) =       7.64
Statistics robust to heteroskedasticity           Prob > F        =     0.0000
                                                  R-squared       =     0.5960
                                                  Adj R-squared   =     0.5321
                                                  Within R-sq.    =     0.0432
Number of clusters (InKommun) =        211        Root MSE        =     0.7303

                                     (Std. Err. adjusted for 211 clusters in InKommun)
--------------------------------------------------------------------------------------
                     |               Robust
     logpEnklavVuxen |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
---------------------+----------------------------------------------------------------
logpEnklavVuxenInvAr |   .2516768   .0503452     5.00   0.000     .1524301    .3509236
              Kvinna |   .0200934   .0664564     0.30   0.763    -.1109138    .1511006
          Gift_InvAr |   .0294783   .0799266     0.37   0.713     -.128083    .1870396
      Barn0_15_InvAr |   .0319025   .0310498     1.03   0.305    -.0293067    .0931118
--------------------------------------------------------------------------------------

Absorbed degrees of freedom:
-----------------------------------------------------------------------+
         Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
---------------------+-------------------------------------------------|
            InKommun |            0             211            211 *   | 
               InvAr |            4               5              1     | 
             IFAUkod |           15              16              1     | 
                  Ar |            6               7              1 ?   | 
           FodelseAr |           35              36              1 ?   | 
-----------------------------------------------------------------------+
? = number of redundant parameters may be higher
* = fixed effect nested within cluster; treated as redundant for DoF computation

Stage: iv

HDFE IV (2SLS) estimation
-------------------------

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on InKommun

Number of clusters (InKommun) =    211                Number of obs =     2008
                                                      F(  4,   210) =     3.67
                                                      Prob > F      =   0.0065
Total (centered) SS     =  7929.439599                Centered R2   =   0.3959
Total (uncentered) SS   =  7929.439599                Uncentered R2 =        .
Residual SS             =  7821.007259                Root MSE      =    2.124

---------------------------------------------------------------------------------
                |               Robust
    UtbAr_InvAr |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
logpEnklavVuxen |   .0990242   .6190919     0.16   0.873    -1.121407    1.319455
         Kvinna |    .036141   .1823331     0.20   0.843    -.3232968    .3955788
     Gift_InvAr |   .3640438   .2403073     1.51   0.131    -.1096799    .8377675
 Barn0_15_InvAr |   -.337092   .0910417    -3.70   0.000    -.5165648   -.1576193
---------------------------------------------------------------------------------
Underidentification test (Kleibergen-Paap rk LM statistic):             16.111
                                                   Chi-sq(1) P-val =    0.0001
------------------------------------------------------------------------------
Weak identification test (Cragg-Donald Wald F statistic):               80.652
                         (Kleibergen-Paap rk Wald F statistic):         24.990
Stock-Yogo weak ID test critical values: 10% maximal IV size             16.38
                                         15% maximal IV size              8.96
                                         20% maximal IV size              6.66
                                         25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
------------------------------------------------------------------------------
Hansen J statistic (overidentification test of all instruments):         0.000
                                                 (equation exactly identified)
------------------------------------------------------------------------------
Instrumented:         logpEnklavVuxen
Included instruments: Kvinna Gift_InvAr Barn0_15_InvAr
Excluded instruments: logpEnklavVuxenInvAr
------------------------------------------------------------------------------

Absorbed degrees of freedom:
------------------------------------------------------------------+
    Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
----------------+-------------------------------------------------|
       InKommun |            0             211            211 *   | 
          InvAr |            4               5              1     | 
        IFAUkod |           15              16              1     | 
             Ar |            6               7              1 ?   | 
      FodelseAr |           35              36              1 ?   | 
------------------------------------------------------------------+
? = number of redundant parameters may be higher
* = fixed effect nested within cluster; treated as redundant for DoF computation

.   eststo c1

.   
.   reghdfe Vald (logpEnklavVuxen = logpEnklavVuxenInvAr) if Nominerad == 100, absorb(InKommun `controls1') cluster(InKommun) stages(first) o
> ld
(running historical version of reghdfe)
(dropped 29 singleton observations)
(converged in 15 iterations)

Stage: first - logpEnklavVuxen

HDFE Linear regression                            Number of obs   =      2,008
Absorbing 5 HDFE groups                           F(   1,    210) =      25.91
Statistics robust to heteroskedasticity           Prob > F        =     0.0000
                                                  R-squared       =     0.5949
                                                  Adj R-squared   =     0.5317
                                                  Within R-sq.    =     0.0407
Number of clusters (InKommun) =        211        Root MSE        =     0.7306

                                     (Std. Err. adjusted for 211 clusters in InKommun)
--------------------------------------------------------------------------------------
                     |               Robust
     logpEnklavVuxen |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
---------------------+----------------------------------------------------------------
logpEnklavVuxenInvAr |   .2542137   .0499378     5.09   0.000     .1557702    .3526573
--------------------------------------------------------------------------------------

Absorbed degrees of freedom:
-----------------------------------------------------------------------+
         Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
---------------------+-------------------------------------------------|
            InKommun |            0             211            211 *   | 
               InvAr |            4               5              1     | 
             IFAUkod |           15              16              1     | 
                  Ar |            6               7              1 ?   | 
           FodelseAr |           35              36              1 ?   | 
-----------------------------------------------------------------------+
? = number of redundant parameters may be higher
* = fixed effect nested within cluster; treated as redundant for DoF computation

Stage: iv

HDFE IV (2SLS) estimation
-------------------------

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on InKommun

Number of clusters (InKommun) =    211                Number of obs =     2008
                                                      F(  1,   210) =     2.12
                                                      Prob > F      =   0.1473
Total (centered) SS     =  2158822.521                Centered R2   =   0.2209
Total (uncentered) SS   =  2158822.521                Uncentered R2 =        .
Residual SS             =  2226187.892                Root MSE      =    35.81

---------------------------------------------------------------------------------
                |               Robust
           Vald |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
logpEnklavVuxen |   9.960284   6.848089     1.45   0.147    -3.539525    23.46009
---------------------------------------------------------------------------------
Underidentification test (Kleibergen-Paap rk LM statistic):             16.369
                                                   Chi-sq(1) P-val =    0.0001
------------------------------------------------------------------------------
Weak identification test (Cragg-Donald Wald F statistic):               82.532
                         (Kleibergen-Paap rk Wald F statistic):         25.914
Stock-Yogo weak ID test critical values: 10% maximal IV size             16.38
                                         15% maximal IV size              8.96
                                         20% maximal IV size              6.66
                                         25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
------------------------------------------------------------------------------
Hansen J statistic (overidentification test of all instruments):         0.000
                                                 (equation exactly identified)
------------------------------------------------------------------------------
Instrumented:         logpEnklavVuxen
Excluded instruments: logpEnklavVuxenInvAr
------------------------------------------------------------------------------

Absorbed degrees of freedom:
------------------------------------------------------------------+
    Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
----------------+-------------------------------------------------|
       InKommun |            0             211            211 *   | 
          InvAr |            4               5              1     | 
        IFAUkod |           15              16              1     | 
             Ar |            6               7              1 ?   | 
      FodelseAr |           35              36              1 ?   | 
------------------------------------------------------------------+
? = number of redundant parameters may be higher
* = fixed effect nested within cluster; treated as redundant for DoF computation

.   eststo c2

.   
.   reghdfe minListNr (logpEnklavVuxen = logpEnklavVuxenInvAr) if Nominerad == 100, absorb(InKommun `controls1') cluster(InKommun) stages(fir
> st) old
(running historical version of reghdfe)
(dropped 32 singleton observations)
(converged in 15 iterations)

Stage: first - logpEnklavVuxen

HDFE Linear regression                            Number of obs   =      1,885
Absorbing 5 HDFE groups                           F(   1,    204) =      22.99
Statistics robust to heteroskedasticity           Prob > F        =     0.0000
                                                  R-squared       =     0.5964
                                                  Adj R-squared   =     0.5309
                                                  Within R-sq.    =     0.0392
Number of clusters (InKommun) =        205        Root MSE        =     0.7356

                                     (Std. Err. adjusted for 205 clusters in InKommun)
--------------------------------------------------------------------------------------
                     |               Robust
     logpEnklavVuxen |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
---------------------+----------------------------------------------------------------
logpEnklavVuxenInvAr |   .2487592   .0518785     4.80   0.000     .1464725     .351046
--------------------------------------------------------------------------------------

Absorbed degrees of freedom:
-----------------------------------------------------------------------+
         Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
---------------------+-------------------------------------------------|
            InKommun |            0             205            205 *   | 
               InvAr |            4               5              1     | 
             IFAUkod |           15              16              1     | 
                  Ar |            5               6              1 ?   | 
           FodelseAr |           34              35              1 ?   | 
-----------------------------------------------------------------------+
? = number of redundant parameters may be higher
* = fixed effect nested within cluster; treated as redundant for DoF computation

Stage: iv

HDFE IV (2SLS) estimation
-------------------------

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on InKommun

Number of clusters (InKommun) =    205                Number of obs =     1885
                                                      F(  1,   204) =     0.14
                                                      Prob > F      =   0.7095
Total (centered) SS     =  250582.7887                Centered R2   =   0.2065
Total (uncentered) SS   =  250582.7887                Uncentered R2 =        .
Residual SS             =  254843.8692                Root MSE      =    12.54

---------------------------------------------------------------------------------
                |               Robust
      minListNr |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
logpEnklavVuxen |   -1.08091   2.897052    -0.37   0.709    -6.792915    4.631094
---------------------------------------------------------------------------------
Underidentification test (Kleibergen-Paap rk LM statistic):             15.069
                                                   Chi-sq(1) P-val =    0.0001
------------------------------------------------------------------------------
Weak identification test (Cragg-Donald Wald F statistic):               74.453
                         (Kleibergen-Paap rk Wald F statistic):         22.992
Stock-Yogo weak ID test critical values: 10% maximal IV size             16.38
                                         15% maximal IV size              8.96
                                         20% maximal IV size              6.66
                                         25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
------------------------------------------------------------------------------
Hansen J statistic (overidentification test of all instruments):         0.000
                                                 (equation exactly identified)
------------------------------------------------------------------------------
Instrumented:         logpEnklavVuxen
Excluded instruments: logpEnklavVuxenInvAr
------------------------------------------------------------------------------

Absorbed degrees of freedom:
------------------------------------------------------------------+
    Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
----------------+-------------------------------------------------|
       InKommun |            0             205            205 *   | 
          InvAr |            4               5              1     | 
        IFAUkod |           15              16              1     | 
             Ar |            5               6              1 ?   | 
      FodelseAr |           34              35              1 ?   | 
------------------------------------------------------------------+
? = number of redundant parameters may be higher
* = fixed effect nested within cluster; treated as redundant for DoF computation

.   eststo c3

.   
.   reghdfe maxPersRost (logpEnklavVuxen = logpEnklavVuxenInvAr) if Nominerad == 100, absorb(InKommun `controls1') cluster(InKommun) stages(f
> irst) old
(running historical version of reghdfe)
(dropped 31 singleton observations)
(converged in 16 iterations)

Stage: first - logpEnklavVuxen

HDFE Linear regression                            Number of obs   =      1,822
Absorbing 5 HDFE groups                           F(   1,    202) =      21.07
Statistics robust to heteroskedasticity           Prob > F        =     0.0000
                                                  R-squared       =     0.5992
                                                  Adj R-squared   =     0.5324
                                                  Within R-sq.    =     0.0346
Number of clusters (InKommun) =        203        Root MSE        =     0.7335

                                     (Std. Err. adjusted for 203 clusters in InKommun)
--------------------------------------------------------------------------------------
                     |               Robust
     logpEnklavVuxen |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
---------------------+----------------------------------------------------------------
logpEnklavVuxenInvAr |   .2331237   .0507855     4.59   0.000      .132986    .3332614
--------------------------------------------------------------------------------------

Absorbed degrees of freedom:
-----------------------------------------------------------------------+
         Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
---------------------+-------------------------------------------------|
            InKommun |            0             203            203 *   | 
               InvAr |            4               5              1     | 
             IFAUkod |           15              16              1     | 
                  Ar |            4               5              1 ?   | 
           FodelseAr |           34              35              1 ?   | 
-----------------------------------------------------------------------+
? = number of redundant parameters may be higher
* = fixed effect nested within cluster; treated as redundant for DoF computation

Stage: iv

HDFE IV (2SLS) estimation
-------------------------

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on InKommun

Number of clusters (InKommun) =    203                Number of obs =     1822
                                                      F(  1,   202) =     1.14
                                                      Prob > F      =   0.2859
Total (centered) SS     =  6152007.128                Centered R2   =   0.1878
Total (uncentered) SS   =  6152007.128                Uncentered R2 =        .
Residual SS             =   6082513.72                Root MSE      =    62.42

---------------------------------------------------------------------------------
                |               Robust
    maxPersRost |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
logpEnklavVuxen |    12.5896   11.76648     1.07   0.286    -10.61128    35.79047
---------------------------------------------------------------------------------
Underidentification test (Kleibergen-Paap rk LM statistic):             15.046
                                                   Chi-sq(1) P-val =    0.0001
------------------------------------------------------------------------------
Weak identification test (Cragg-Donald Wald F statistic):               63.266
                         (Kleibergen-Paap rk Wald F statistic):         21.071
Stock-Yogo weak ID test critical values: 10% maximal IV size             16.38
                                         15% maximal IV size              8.96
                                         20% maximal IV size              6.66
                                         25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
------------------------------------------------------------------------------
Hansen J statistic (overidentification test of all instruments):         0.000
                                                 (equation exactly identified)
------------------------------------------------------------------------------
Instrumented:         logpEnklavVuxen
Excluded instruments: logpEnklavVuxenInvAr
------------------------------------------------------------------------------

Absorbed degrees of freedom:
------------------------------------------------------------------+
    Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
----------------+-------------------------------------------------|
       InKommun |            0             203            203 *   | 
          InvAr |            4               5              1     | 
        IFAUkod |           15              16              1     | 
             Ar |            4               5              1 ?   | 
      FodelseAr |           34              35              1 ?   | 
------------------------------------------------------------------+
? = number of redundant parameters may be higher
* = fixed effect nested within cluster; treated as redundant for DoF computation

.   eststo c4 

.   
.   esttab c1 c2 c3 c4 using "`output'\Output\TableA9.rtf", keep(`controls2' logpEnklavVuxen) replace star(* .1 ** .05 *** .01) b(3) se(3) 
(note: file C:\Userdata\Shared\Dofiles\DoAnalysis\PlacementCandidacy\Output\TableA9.rtf not found)
(output written to C:\Userdata\Shared\Dofiles\DoAnalysis\PlacementCandidacy\Output\TableA9.rtf)

.   log close
      name:  <unnamed>
       log:  C:\Userdata\Shared\Dofiles\DoAnalysis\PlacementCandidacy\Output\TableA9.log
  log type:  text
 closed on:   2 Oct 2020, 13:43:00
---------------------------------------------------------------------------------------------------------------------------------------------
